﻿using System;
using System.Collections;

/// <summary>
///RewriterRuleCollection 的摘要说明
/// </summary>
/// 

namespace QzEbook.ReWrite
{
    [Serializable()]
    public class RewriterRuleCollection:CollectionBase
    {
        public RewriterRuleCollection()
        {
            //
            //TODO: 在此处添加构造函数逻辑
            //
        }
        public virtual void Add(RewriterRule rule)
        {
            this.InnerList.Add(rule);
        }

        public RewriterRule this[int index]
        {
            get
            {
                return (RewriterRule)this.InnerList[index];
            }
            set
            {
                this.InnerList[index] = value;
            }
        }
    }
}
